<?php /* Smarty version 2.6.18, created on 2012-09-17 11:40:10
         compiled from modules/checkout.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'modules/checkout.tpl', 6, false),)), $this); ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>

   <?php if ($this->_tpl_vars['status'] == 'closed'): ?>
     <div style="color:red; font-weight:bold; text-align:center"><?php echo ((is_array($_tmp=$this->_tpl_vars['config']['closed_message'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</div>
   <?php else: ?>
     <div style="color:red; font-weight:bold; text-align:center"><?php echo $this->_tpl_vars['error']; ?>
</div>
     <?php echo $this->_tpl_vars['page_content']; ?>

   <?php endif; ?>
  
 &nbsp;</td>
  </tr>
</table>
<?php if ($_SESSION['delivery_chosen'] != 1): ?>
  <?php echo '
  <script>
    $(function() {
      $( "#deliver_popup" ).dialog(\'open\');
    });
  </script>
  '; ?>

<?php endif; ?>